home *** CD-ROM | disk | FTP | other *** search
/ 17 Bit Software 6: Level 6 / 17 Bit - Level 6 (1998)(Epic Marketing)[!].iso / quartz / q0480.dms / q0480.adf / formathd < prev    next >
AmigaDOS Script File  |  1992-03-06  |  999b  |  48 lines

  1. .key ""
  2. .bra {
  3. .ket }
  4. echo "Hard Disk Format"
  5. assign >NIL: WB_3.x: exists
  6. if warn
  7.   echo "*NWARNING:  Hard disk drive partition WB_3.x: cannot be found!"
  8.   echo "This script formats partitions WB_3.x: and Work:."
  9.   echo "Make sure the drive is properly connected and prepped, and"
  10.   echo "the partitions have the correct names."
  11.   skip exit
  12.  
  13.  
  14. endif
  15. ;
  16. echo "*NWARNING: This will reformat drive partitions WB_3.x: and Work:."
  17. echo "All information on these partitions will be lost!"
  18. ask "Are you sure you want to continue ? (Y/N) "
  19. if not warn
  20.   echo "Format cancelled."
  21.   skip exit
  22. endif
  23. ;
  24. path sys:system add
  25. echo "*NFormatting..."
  26. format <NIL: >NIL: drive WB_3.x: name System3.0 quick
  27. if fail
  28. skip failcase
  29. endif
  30. format <NIL: >NIL: drive Work: name Work quick
  31. lab failcase
  32. if fail
  33.   echo "Format failed."
  34.   skip exit
  35. endif
  36. ;
  37. echo "*NHard disk format is complete."
  38. ask "*NWould you like the system software to be*Ninstalled on your hard disk ?(y/n)"
  39.  
  40.  
  41.  
  42.  
  43. if warn
  44.   execute :InstallHD
  45. endif
  46.  
  47. lab exit
  48.